package com.us.user.services.impl;

import java.util.List;

import com.us.user.dao.IMoneyInfoDAO;
import com.us.user.pojo.MoneyInfo;
import com.us.user.services.IMoneyInfoServises;

public class MoneyInfoServises implements IMoneyInfoServises {
	private IMoneyInfoDAO moneyInfoDAO;

	public IMoneyInfoDAO getMoneyInfoDAO() {
		return moneyInfoDAO;
	}

	public void setMoneyInfoDAO(IMoneyInfoDAO moneyInfoDAO) {
		this.moneyInfoDAO = moneyInfoDAO;
	}

	public void addMoney(MoneyInfo moneyInfo) {
		// TODO Auto-generated method stub
		moneyInfoDAO.addMoney(moneyInfo);
	}

	public List getMoneyList() {
		// TODO Auto-generated method stub
		return moneyInfoDAO.getMoneyList() ;
	}

	public List searchMoneyInfoList(MoneyInfo moneyInfo) {
		// TODO Auto-generated method stub
		return moneyInfoDAO.searchMoneyInfoList(moneyInfo);
	}

	public List getMoneyListByCUser(int user_id) {
		// TODO Auto-generated method stub
		return moneyInfoDAO.getMoneyListByCUser(user_id);
	}
}
